<div class='c-box-300 c-box news' id='article-home'>
      	<h3>News</h3>
      	<?php
         
            	$items=0;
               foreach($posts as $x)
               {
               if($x['post_type']=='article'){	
					?>
					
						<li  class='article-image' id="article-image-<?php echo $x['id'];?>">	
            			<a class='article-image-holder' href='news/<?PHP echo $x["id"];?>/<?PHP echo csq($x["title"]);?>'>
            			<img height="60" width ="60" src="<?php echo ap($x['thumb']);?>" ></a>
							<h5><a href='news/<?PHP echo $x["id"];?>/<?PHP echo csq($x["title"]);?>'>
							<?PHP echo $x['title'] ?></a></h5>
							<?PHP echo $x['secondary']; ?>
						</li>					
					<?php               
						}
               }
         ?>
      </div>
    